<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class OrderCourseClassGroup extends Model
{
    use SoftDeletes;

    protected $table = 'order_course_class_group';

    public function courseGroup(){

        return $this->belongsTo('App\Models\CourseClassGroup','course_class_group_id');
    }

    public function user(){
        return $this->belongsTo('App\User','user_id');
    }
}
